// import React from 'react';
import { createPortal } from 'react-dom'
const modalroot = document.getElementById('modalRoot')
const Modal = (props) => {
  return (
    createPortal(props.children, modalroot)
  );
}

export default Modal;
